use super::font::Font;

#[derive(Clone)]
struct GlyphOption {
    unicode: String,
    glyph_name: String,
    d: String,
    horiz_adv_x: u16,
    vert_adv_y: u16,
}
impl Default for GlyphOption {
    fn default() -> Self {
        GlyphOption {
            unicode: "".to_string(),
            glyph_name: "".to_string(),
            d: "".to_string(),
            horiz_adv_x: 1024,
            vert_adv_y: 1024,
        }
    }
}
pub struct Glyph<'a> {
    pub options: GlyphOption,
    pub __font: &'a Font<'a>,
}

impl Glyph<'_> {
    fn init(mut self) {
        self.set_options(GlyphOption::default());
        self.__font = &Font::new()
    }
    fn set_options(mut self, options: GlyphOption) {
        self.options = options
    }
}
